<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <title>YouGO - <?php include_slot('title') ?></title>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <?php include_stylesheets() ?>
        <?php include_javascripts() ?>
    </head>
    <body>
        <div id="wrap">
            <?php include_partial('global/header'); ?>
            <?php include_partial('global/tab_bar'); ?>
            <div id="head-content-wrap">
                <div id="head-content">
                    <h2><?php include_slot('title') ?></h2><div class="options"><?php include_slot('options') ?></div>
                </div>
            </div>
            <?php include_partial('global/flashes') ?>
            <?php if (!$sf_user->hasFlash('globalError')): ?>
                <div id="content"><?php echo $sf_content ?></div>
            <?php endif ?>
            <?php include_partial('global/footer'); ?>
        </div>
    </body>
</html>
